<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- TemplateBeginEditable name="doctitle" -->
<title>Liste des POIs</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
-->
</style>
<link href="<%=request.getContextPath()%>/css/css_style.css"
	rel="stylesheet" type="text/css">
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/css/displaytag.css" type="text/css">
</head>

<body>
	<div class="container">
		<div class="header"></div>
		<div class="upmenu">
			<div style="text-align: left; float: left; margin-left: 10px;">
				Session : Administrateur
				<s:property value="#session.nom" />
				<s:property value="#session.prenom" />
			</div>
			<div style="text-align: right; float: right; margin-right: 10px;">
				<a href="<%=request.getContextPath()%>/users/logout.action">Se
					deconnecter</a>
			</div>
		</div>
	
   
		<div class="leftmenu">
		
				<ul id="menu-accordeon">
   <li><a href="<%=request.getContextPath()%>/themes/ListeThemes.action">Liste des thémes</a>
   
   </li>
				<ul id="menu-accordeon">
   <li><a href="#">Réfenretiel des emplacements</a>
      <ul>
         <li><a href="<%=request.getContextPath()%>/regions/ListeRegions.action">Gestion des régions</a></li>
         <li><a href="<%=request.getContextPath()%>/provinces/ListeProvinces.action">Gestion des provinces</a></li>
         <li><a href="<%=request.getContextPath()%>/communes/ListeCommunes.action">Gestion des communes</a></li>
         <li><a href="<%=request.getContextPath()%>/pois/ListePoi.action">Gestion des pois</a></li>
<!--          <li><a href="#">Gestion des POIs</a></li> -->
      </ul>
   </li>
		</div>
		<div class="content">
			<div class="content-header">Liste des POIs</div>
			<div class="content-core">
				<s:if test="hasActionMessages()">
					<s:actionmessage />
				</s:if>
				<display:table id="Pois" name="listePoi" pagesize="8"
					export="true" requestURI="/pois/derniereListe.action"
					decorator="services.displayTag.DecorateurSupprimerModifier">
					<display:column property="nom" title="nom" sortable="true" value ="identifiant" />
					<display:column property="description" title="Description" sortable="true" value ="identifiant" />
					<display:column property="population" title="Population" sortable="true" value ="identifiant" />
					<display:column property="commune.nom" title="Commune" sortable="true" value ="identifiant" />
					<display:column property="boutonModifierPoi" title="" media="html" value ="identifiant"/>
					<display:column property="boutonSupprimerPoi" title="" media="html" value ="identifiant"/>
					
					
					


				</display:table>
				<form action="<%=request.getContextPath()%>/pois/AjouterPoiRedirect.action">
					<input type="submit" value="Ajouter une nouvelle poi"/>
				</form>

				<form action="<%=request.getContextPath()%>/pois/rechercherPoiRedirect.action">
					<input type="submit" value="Rechercher une region"/>
				</form>
				
			</div>
		</div>
	</div>
</body>
</html>